package com.ruoyi.huoxingshi.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员套餐对象 hxs_vip_plans
 *
 * @author huoxingshi
 * @date 2025-06-25
 */
public class HxsVipPlans extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐ID */
    private Long id;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String name;

    /** 有效期（天） */
    @Excel(name = "有效期", readConverterExp = "天=")
    private String durationDays;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private BigDecimal price;

    /** 首购价格 */
    @Excel(name = "首购价格")
    private BigDecimal newPrice;

    /** 套餐描述 */
    @Excel(name = "套餐描述")
    private String description;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setDurationDays(String durationDays)
    {
        this.durationDays = durationDays;
    }

    public String getDurationDays()
    {
        return durationDays;
    }

    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }

    public void setNewPrice(BigDecimal newPrice)
    {
        this.newPrice = newPrice;
    }

    public BigDecimal getNewPrice()
    {
        return newPrice;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("durationDays", getDurationDays())
                .append("price", getPrice())
                .append("newPrice", getNewPrice())
                .append("description", getDescription())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
